monitor=,preferred,auto,1

exec=$HOME/.config/hypr/autostart

input {
    kb_layout= us,ru
    kb_variant=ffffff
    kb_model=
    kb_options= grp:alt_shift_toggle
    kb_rules=

    follow_mouse=1

    touchpad {
        natural_scroll=yes
        tap-to-click=true
    }
}

general {
    sensitivity=1.0 # for mouse cursor
    layout = dwindle
    gaps_in=6
    gaps_out=12
    border_size=5
    col.active_border = rgba(ED99F9ee) rgba(C199F1ee) rgba(C199F1ee) rgba(CBA6F7ee) rgba(F795FAee) rgba(B1ACF7ee) rgba(CBA6F7ee) rgba(DABDFDee) rgba(CBA6F7ee) rgba(AEA6F7ee) 45deg
    col.inactive_border = rgba(59595999)
    apply_sens_to_raw=0
}

decoration {
    blur_new_optimizations = true
    drop_shadow = true
    shadow_range=12
    shadow_render_power=4
    col.shadow = 99ccffee 
    col.shadow_inactive=0x22000000
    dim_inactive = false
    multisample_edges = true
    rounding=5
    blur=0
    blur_size=0 # minimum 1
    blur_passes=0 # minimum 1, more passes = more resource intensive.
}

animations {
    enabled=1
    bezier=pace,0.46, 1, 0.29, 0.99
    bezier=overshot,0.13,0.99,0.29,1.1
    animation=windowsIn,1,6,pace,slide
    animation=windowsOut,1,6,default,slide
    animation=windowsMove,1,6,pace,slide
    animation=fade,1,8,pace
    animation=workspaces,1,7,pace,slide
    animation=specialWorkspace,1,7,pace,slide
    animation=border,0,3,default
}

dwindle {
    pseudotile=1 # enable pseudotiling on dwindle
    force_split=0
    col.group_border=0xff89dceb
    col.group_border_active=0xfff9e2af
    preserve_split=1
}

misc {
  no_vfr = true
  enable_swallow = true
  swallow_regex = "kitty"
}

gestures {
    workspace_swipe=yes
    workspace_swipe_fingers=3
}

# window rules
source = ~/.config/hypr/rules.conf

# binds
source = ~/.config/hypr/binds.conf
